/**
 * Copyright (c) 2009-2011, chunquedong(YangJiandong)
 * 
 * This file is part of ChunMap project
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
 * 
 * History:
 *     2010-05-05  Jed Young  Creation
 */
package chunmap.service;

import java.util.HashMap;
import java.util.Map;

/**
 * @author yangjiandong
 * 
 */
public class ServiceFactory {

	private static Map<String, Service> services=new HashMap<String, Service>();
	
	public static Service getService(String name) {
		return services.get(name);
	}

	public static void putService(Service s, String name) {
		services.put(name, s);
	}

}